namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Order")]
    public partial class Order
    {
        public int Id { get; set; }

        [Required]
        [StringLength(50)]
        public string OrderId { get; set; }

        public int CustId { get; set; }

        [Required]
        [StringLength(50)]
        public string CustName { get; set; }

        [Required]
        [StringLength(50)]
        public string ShouName { get; set; }

        [Required]
        [StringLength(500)]
        public string ProductName { get; set; }

        public decimal ToPrice { get; set; }

        [StringLength(50)]
        public string Province { get; set; }

        [StringLength(50)]
        public string City { get; set; }

        [StringLength(50)]
        public string District { get; set; }

        [StringLength(50)]
        public string Information { get; set; }

        public DateTime OrderTime { get; set; }

        [Required]
        [StringLength(50)]
        public string IsTake { get; set; }

        [StringLength(50)]
        public string ProductPrth { get; set; }

        public int? Count { get; set; }

        public decimal? Price { get; set; }
    }
}
